package com.sgb.zhaocai.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Time:2021/9/18
 * AUTHOR:F_Q
 * Description:
 */
public class MaterialListBase implements Serializable {
    private String businessPlanId;//需求详情ID
    private String businessPlanItemizedRecordId = "1";//businessPlanItemizedRecordId
    private String categoryId;//材料分类id
    private List<Integer> categoryIds;//需求预告材料分类ids:多级
    private List<Integer> cacheId;//需求预告材料分类ids:多级
    private String categoryName;//材料分类名称
    private String dataSource = "2";//数据来源{ 0 or null: 经营编制 , 1 月度计划 , 2 经营帮 }
    private String itemizedUseAmount;//分项用量
    private String no;//材料编号
    private String name;//材料名称
    private String projectAddressName;//项目地址名称
    private String spec;//规格型号
    private String unit;//计量单位
    private String planUseTime;//时间
    private int index;

    public List<Integer> getCacheId() {
        return cacheId;
    }

    public void setCacheId(List<Integer> cacheId) {
        this.cacheId = cacheId;
    }

    public MaterialListBase(int index) {
        this.index = index;
    }

    public String getPlanUseTime() {
        return planUseTime;
    }

    public void setPlanUseTime(String planUseTime) {
        this.planUseTime = planUseTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getBusinessPlanId() {
        return businessPlanId;
    }

    public void setBusinessPlanId(String businessPlanId) {
        this.businessPlanId = businessPlanId;
    }

    public String getBusinessPlanItemizedRecordId() {
        return businessPlanItemizedRecordId;
    }

    public void setBusinessPlanItemizedRecordId(String businessPlanItemizedRecordId) {
        this.businessPlanItemizedRecordId = businessPlanItemizedRecordId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public List<Integer> getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(List<Integer> categoryIds) {
        this.categoryIds = categoryIds;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public String getItemizedUseAmount() {
        return itemizedUseAmount;
    }

    public void setItemizedUseAmount(String itemizedUseAmount) {
        this.itemizedUseAmount = itemizedUseAmount;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getProjectAddressName() {
        return projectAddressName;
    }

    public void setProjectAddressName(String projectAddressName) {
        this.projectAddressName = projectAddressName;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    @Override
    public String toString() {
        return "{" +
                "businessPlanId='" + businessPlanId + '\'' +
                ", businessPlanItemizedRecordId='" + businessPlanItemizedRecordId + '\'' +
                ", categoryId='" + categoryId + '\'' +
                ", categoryIds=" + categoryIds +
                ", categoryName='" + categoryName + '\'' +
                ", dataSource='" + dataSource + '\'' +
                ", itemizedUseAmount='" + itemizedUseAmount + '\'' +
                ", no='" + no + '\'' +
                ", projectAddressName='" + projectAddressName + '\'' +
                ", spec='" + spec + '\'' +
                ", unit='" + unit + '\'' +
                ", index=" + index +
                '}';
    }
}
